# $Id: PKGBUILD 87047 2013-03-26 11:49:40Z foutrelis $
# Maintainer: Felix Yan <felixonmars@gmail.com>
# Contributor: Thomas Dziedzic < gostrc at gmail >
# Contributor: garion < garion @ mailoo.org >
# Contributor: leemars

pkgname=ibus-qt
pkgver=1.3.2
pkgrel=1
pkgdesc='IBus qt library and IBus qt input method plugin'
arch=('i686' 'x86_64')
license=('LGPL')
url='http://ibus.googlecode.com'
depends=('qt4' 'ibus' 'icu')
makedepends=('cmake' 'automoc4' 'doxygen')
source=("http://ibus.googlecode.com/files/${pkgname}-${pkgver}-Source.tar.gz")

build() {
  cd "${srcdir}/${pkgname}-${pkgver}-Source"
  mkdir build
  cd build
  
  cmake .. -DCMAKE_INSTALL_PREFIX=/usr
  make
}

package() {
  cd "${srcdir}/${pkgname}-${pkgver}-Source/build"
  make DESTDIR="${pkgdir}" install
}
md5sums=('e53cb59f993d0c93ba968330dbc62c22')
